package estagio.visao;

import java.awt.BorderLayout;
import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.JLabel;
import java.awt.Font;
import java.awt.SystemColor;
import javax.swing.JButton;
import javax.swing.JTextField;

@SuppressWarnings({ "unused", "serial" })
public class TelaAlterarEmpresa extends JFrame {

	private JPanel contentPane;
	private JTextField textFieldTelefone;
	private JTextField textFieldEmail;
	private JTextField textFieldEndereco;
	private JTextField textFieldNome;
	private JTextField textFieldCnpj;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					TelaAlterarEmpresa frame = new TelaAlterarEmpresa();
					frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the frame.
	 */
	public TelaAlterarEmpresa() {
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setBounds(100, 100, 600, 500);
		contentPane = new JPanel();
		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		setContentPane(contentPane);
		contentPane.setLayout(null);
		
		JLabel lblAlterarEmpresa = new JLabel("Alterar Empresa");
		lblAlterarEmpresa.setForeground(SystemColor.controlShadow);
		lblAlterarEmpresa.setFont(new Font("Cambria", Font.PLAIN, 20));
		lblAlterarEmpresa.setBounds(225, 11, 141, 24);
		contentPane.add(lblAlterarEmpresa);
		
		JButton btnAlterar = new JButton("Alterar");
		btnAlterar.setForeground(SystemColor.controlDkShadow);
		btnAlterar.setFont(new Font("Cambria", Font.PLAIN, 17));
		btnAlterar.setBounds(436, 397, 115, 37);
		contentPane.add(btnAlterar);
		
		JButton btnMenu = new JButton("Menu");
		btnMenu.setForeground(SystemColor.controlDkShadow);
		btnMenu.setFont(new Font("Cambria", Font.PLAIN, 17));
		btnMenu.setBounds(249, 397, 115, 37);
		contentPane.add(btnMenu);
		
		JButton btnSair = new JButton("Sair");
		btnSair.setForeground(SystemColor.controlDkShadow);
		btnSair.setFont(new Font("Cambria", Font.PLAIN, 17));
		btnSair.setBounds(60, 397, 115, 37);
		contentPane.add(btnSair);
		
		textFieldTelefone = new JTextField();
		textFieldTelefone.setColumns(10);
		textFieldTelefone.setBounds(205, 297, 237, 24);
		contentPane.add(textFieldTelefone);
		
		JLabel label = new JLabel("Telefone:");
		label.setForeground(SystemColor.controlShadow);
		label.setFont(new Font("Cambria", Font.PLAIN, 17));
		label.setBounds(129, 296, 66, 21);
		contentPane.add(label);
		
		textFieldEmail = new JTextField();
		textFieldEmail.setColumns(10);
		textFieldEmail.setBounds(205, 256, 237, 24);
		contentPane.add(textFieldEmail);
		
		JLabel label_1 = new JLabel("E-mail:");
		label_1.setForeground(SystemColor.controlShadow);
		label_1.setFont(new Font("Cambria", Font.PLAIN, 17));
		label_1.setBounds(143, 255, 52, 21);
		contentPane.add(label_1);
		
		textFieldEndereco = new JTextField();
		textFieldEndereco.setColumns(10);
		textFieldEndereco.setBounds(205, 214, 237, 24);
		contentPane.add(textFieldEndereco);
		
		JLabel label_2 = new JLabel("Endere\u00E7o:");
		label_2.setForeground(SystemColor.controlShadow);
		label_2.setFont(new Font("Cambria", Font.PLAIN, 17));
		label_2.setBounds(123, 213, 72, 21);
		contentPane.add(label_2);
		
		textFieldNome = new JTextField();
		textFieldNome.setColumns(10);
		textFieldNome.setBounds(205, 172, 237, 24);
		contentPane.add(textFieldNome);
		
		JLabel label_3 = new JLabel("Nome:");
		label_3.setForeground(SystemColor.controlShadow);
		label_3.setFont(new Font("Cambria", Font.PLAIN, 17));
		label_3.setBounds(148, 171, 47, 21);
		contentPane.add(label_3);
		
		textFieldCnpj = new JTextField();
		textFieldCnpj.setColumns(10);
		textFieldCnpj.setBounds(205, 127, 237, 24);
		contentPane.add(textFieldCnpj);
		
		JLabel label_4 = new JLabel("Cnpj:");
		label_4.setForeground(SystemColor.controlShadow);
		label_4.setFont(new Font("Cambria", Font.PLAIN, 17));
		label_4.setBounds(158, 126, 37, 21);
		contentPane.add(label_4);
	}

}
